<!doctype html>


<html>
<head>
  <link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
  <title>charlistdecompressor.js (Closure Library API Documentation - JavaScript)</title>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/doc.css">
  <link rel="stylesheet" href="static/css/sidetree.css">
  <link rel="stylesheet" href="static/css/prettify.css">

  <script>
     var _staticFilePath = "static/";
     var _typeTreeName = "goog";
     var _fileTreeName = "Source";
  </script>

  <script src="static/js/doc.js">
  </script>


  <meta charset="utf8">
</head>

<body onload="grokdoc.onLoad();">

<div id="header">
  <div class="g-section g-tpl-50-50 g-split">
    <div class="g-unit g-first">
      <a id="logo" href="index.html">Closure Library API Documentation</a>
    </div>

    <div class="g-unit">
      <div class="g-c">
        <strong>Go to class or file:</strong>
        <input type="text" id="ac">
      </div>
    </div>
  </div>
</div>





<div class="colmask rightmenu">
<div class="colleft">
    <div class="col1">
      <!-- Column 1 start -->

<div id="title">
       <span class="fn">charlistdecompressor.js</span>
</div>

<div class="g-section g-tpl-75-25">
  <div class="g-unit g-first" id="description">
    The decompressor for Base88 compressed character lists.

 The compression is by base 88 encoding the delta between two adjacent
 characters in ths list. The deltas can be positive or negative. Also, there
 would be character ranges. These three types of values
 are given enum values 0, 1 and 2 respectively. Initial 3 bits are used for
 encoding the type and total length of the encoded value. Length enums 0, 1
 and 2 represents lengths 1, 2 and 4. So (value * 8 + type * 3 + length enum)
 is encoded in base 88 by following characters for numbers from 0 to 87:
 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ (continued in next line)
 abcdefghijklmnopqrstuvwxyz!#$%()*+,-.:;&amp;lt;=&amp;gt;?@[]^_`{|}~

 Value uses 0 based counting. That is value for the range [a, b] is 0 and
 that of [a, c] is 1. Simillarly, the delta of &amp;quot;ab&amp;quot; is 0.

 Following python script can be used to compress character lists taken
 standard input: <a href="http://go/charlistcompressor.py">http://go/charlistcompressor.py</a>
  </div>
  

        <div class="g-unit" id="useful-links">
          <div class="title">Useful links</div>
          <ol>
            <li><a href="closure_goog_i18n_charlistdecompressor.js.source.html"><span class='source-code-link'>Source Code</span></a></li>
            <li><a href="http://code.google.com/p/closure-library/source/browse/closure/goog/i18n/charlistdecompressor.js">Git</a></li>
          </ol>
        </div>
</div>

<h2 class="g-first">File Location</h2>
  <div class="g-section g-tpl-20-80">
    <div class="g-unit g-first">
      <div class="g-c-cell code-label">i18n/charlistdecompressor.js</div>
    </div>
  </div>
<hr/>


  <h2>Classes</h2>
 <div class="fn-constructor">
        <a href="class_goog_i18n_CharListDecompressor.html">
          goog.i18n.CharListDecompressor</a><br/>
        <div class="class-details">Class to decompress base88 compressed character list.</div>
 </div>
      









<div class="section">
  <table class="horiz-rule">


  </table>
</div>










      <!-- Column 1 end -->
    </div>

        <div class="col2">
          <!-- Column 2 start -->
          <div class="col2-c">
            <h2 id="ref-head">Directory i18n</h2>
            <div id="localView"></div>
          </div>

          <div class="col2-c">
            <h2 id="ref-head">File Reference</h2>
            <div id="sideFileIndex" rootPath="" current="i18n/charlistdecompressor.js"></div>
          </div>
          <!-- Column 2 end -->
        </div>
</div>
</div>

</body>
</html>
